<template>
  <div class="home-container">
    <nav-menu></nav-menu>
    <main class="main-warp">
      <!-- 侧边栏部分 -->
      <aside>
      <side-bar class="side-bar"></side-bar>
      </aside>
      <Section class="main-content">
        <router-view></router-view>
      </Section>
    </main>
  </div>
</template>

<script setup>
import sideBar from "@/components/sideBar.vue";
import navMenu from "@/components/nav-menu.vue";
</script>

<style>
.main-warp{
  width: 100%;
  height: 100%;
  margin-top: 100px;
  display: flex;
  flex-direction: row;
}
.side-bar {
  width: 200px;
  height: 100%;
}
.main-content {
  width: 100%;
  flex: 1;
}
</style>